package src;

/**
 * Created by dell on 2017/8/7.
 */
public class Outer {
    private int i;
    public Outer(int i){
        this.i=i;
    }
    public void privateInnerGetI(){
        new PrivateInner().privateGetI();
    }
    private class PrivateInner{
        public  void privateGetI(){
            System.out.println(i);
        }
    }
    public class PublicInner{
        private int i=2;
        public void publicGetI(){
            System.out.println(i);
        }
    }
}
